export const columns = [
  {
    title: "username",
    dataIndex: "username",
    key: "username",
    slots: { customRender: "username" },
  },
  {
    title: "phone",
    dataIndex: "phone",
    key: "phone",
  },
  {
    title: "create_time",
    dataIndex: "createTime",
    key: "create_time",
  },
  {
    title: "operate",
    dataIndex: "operate",
    key: "operate",
    align: "center",
    slots: { customRender: "operate" },
  },
];
import { reactive } from "vue";

export const modelRef = reactive({
  username: "",
  phone: "",
  password: "",
});

export const rulesRef = reactive({
  username: [
    {
      required: true,
      message: "Please input name",
    },
  ],
  password: [
    {
      required: true,
      message: "Please input password",
    },
  ],
  phone: [
    {
      required: true,
      message: "Please input phone",
    },
  ],
});
